// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_INV_DISPATCH_LOCATION
// * CreateDate    : 2011/9/27 11:24:17
// * Creater       : CodeSmith
// * LastChangeDate: 2011/9/27 11:24:17
// * LastChanger   : 2011/9/27 11:24:17
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class InvDispatchLocationTable : TableInfo
    {
		public const string C_TableName = "INV_DISPATCH_LOCATION";
		
		public const string C_DISPATCH_ITEM_ID = "DISPATCH_ITEM_ID";
		public const string C_LOCATION_ID = "LOCATION_ID";
		public const string C_QTY = "QTY";
		
		public InvDispatchLocationTable()
        {
            _tableName = "INV_DISPATCH_LOCATION";
        }
		
		protected static InvDispatchLocationTable _current;
        public static InvDispatchLocationTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new InvDispatchLocationTable();

            _current.Add(C_DISPATCH_ITEM_ID, new ColumnInfo(C_DISPATCH_ITEM_ID,"DispatchItemId", true, typeof(string)));
            _current.Add(C_LOCATION_ID, new ColumnInfo(C_LOCATION_ID,"LocationId", true, typeof(string)));
            _current.Add(C_QTY, new ColumnInfo(C_QTY,"Qty", false, typeof(decimal)));
			
		}
		
		public ColumnInfo DISPATCH_ITEM_ID
        {
            get { return this[C_DISPATCH_ITEM_ID]; }
        }
		
		public ColumnInfo LOCATION_ID
        {
            get { return this[C_LOCATION_ID]; }
        }
		
		public ColumnInfo QTY
        {
            get { return this[C_QTY]; }
        }
		
		
		
	}
}

